Quickbook API
Cancelling a booking
POST /booking/cancel
Description
Cancel an existing booking.
Authorization
The Authorization header carried the API access token in the format AL client_id:client_secret . Please see 'Authorization' for more information.
Content Type
application/json
JSON Parameters
{
"job_uuid" : "36b5ffa8-61f0-11e5-9d70-feff819cdc9f"
}
Parameters | Description | Required? |
---|---|---|
job_uuid | The UUID of the job to be cancelled | Yes |
Response
{
"job_uuid": "36b5ffa8-61f0-11e5-9d70-feff819cdc9f",
"job_number": "123456",
"cancelled" : true
"total" : 0.00
"tax" : 0.00
}
Parameters | Description |
---|---|
job_uuid | Unique system identified for the booking |
job_number | User reference for the booking. Needs to be used in conjunction with the booking date |
cancelled | Status of the cancellation (True / False) |
total | Cancellation charge for Cancellation on Arrival [1] |
tax | Tax for the cancellation charge |
[1] If the job is cancelled more than five minutes after it is allocated to a driver, it will be marked as COA and a charge will be applied.